libxc: fix bounce buffers in xc_pm_get_cx_stat and xc_pm_get_pxstat
authorIan Campbell <ian.campbell@citrix.com>
Wed, 3 Nov 2010 12:35:04 +0000 (12:35 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 3 Nov 2010 12:35:04 +0000 (12:35 +0000)
commitc894e6dae793aef1b08bfd6b56e93b828e0cbf2e
tree63daafea8b4aa357e3b4f6adaf3fb763eb91b2da
parentf0188031b64c3c83e6dc2dd85767800b439ac704
libxc: fix bounce buffers in xc_pm_get_cx_stat and xc_pm_get_pxstat

We should bounce the buffers themselves, not the pointers to them!

Error introduced by 22292:a1b39d2b9001 and reported by Yang Z Zhang.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxc/xc_pm.c